package Montecarlo;

public class FuncObj implements Funcion {
	private double[] params = new double[1];

	@Override
	public int getNumParams() {
		return params.length;
	}

	@Override
	public double calcularFunc(double[] params) {
		return Math.exp(params[0]) + 2 * params[0];
	}

}
